<?php
namespace app\beautiful\model\logs;
use app\common\model\CommonModel;

class SmsRechargeLogsModel extends CommonModel{
    protected  $name = 'beautiful_sms_recharge';
    protected  $pk   = 'sms_recharge_id';

    public function getOperateHiddenMobileAttr($value,$data)
    {
        return $data['operate_mobile'] ? yc_phone($data['operate_mobile']) : '';
    }
}
